#include <stdio.h>
#include <string.h>



int main() 
{
	int a = 10;
	int count = 0;
	while (a > 0)
	{
		if ((a & 1) == 1)
		{
			count++;
		}
		a=a >> 1;
	}
	printf("%d", count);
	return 0;
}

	
